package com.cssw.fyzb.core.model.dodb.base;

import com.ydn.dbframe.plugin.activerecord.Model;
import com.ydn.dbframe.plugin.activerecord.IBean;

/**
 *  do not modify this file.
 */
@SuppressWarnings("serial")
public abstract class BaseUserAccount<M extends BaseUserAccount<M>> extends Model<M> implements IBean {

	/**
	 * 主键
	 */
	public void setUserId(java.math.BigInteger userId) {
		set("user_id", userId);
	}
	
	/**
	 * 主键
	 */
	public java.math.BigInteger getUserId() {
		return get("user_id");
	}

	/**
	 * 果子可用数量
	 */
	public void setAmountAvailable(java.math.BigDecimal amountAvailable) {
		set("amount_available", amountAvailable);
	}
	
	/**
	 * 果子可用数量
	 */
	public java.math.BigDecimal getAmountAvailable() {
		return get("amount_available");
	}

	/**
	 * 金币可用数量
	 */
	public void setGoldAvailable(java.math.BigDecimal goldAvailable) {
		set("gold_available", goldAvailable);
	}
	
	/**
	 * 金币可用数量
	 */
	public java.math.BigDecimal getGoldAvailable() {
		return get("gold_available");
	}

	/**
	 * 福币
	 */
	public void setFuCurrency(java.math.BigDecimal fuCurrency) {
		set("fu_currency", fuCurrency);
	}
	
	/**
	 * 福币
	 */
	public java.math.BigDecimal getFuCurrency() {
		return get("fu_currency");
	}

	/**
	 * 提现余额误差值
	 */
	public void setWithdrawBalance(java.math.BigDecimal withdrawBalance) {
		set("withdraw_balance", withdrawBalance);
	}
	
	/**
	 * 提现余额误差值
	 */
	public java.math.BigDecimal getWithdrawBalance() {
		return get("withdraw_balance");
	}

	/**
	 * 交换密码
	 */
	public void setExchangePassword(java.lang.String exchangePassword) {
		set("exchange_password", exchangePassword);
	}
	
	/**
	 * 交换密码
	 */
	public java.lang.String getExchangePassword() {
		return getStr("exchange_password");
	}

	/**
	 * 账户状态，1正常 2冻结 3不可用
	 */
	public void setStatus(java.lang.Integer status) {
		set("status", status);
	}
	
	/**
	 * 账户状态，1正常 2冻结 3不可用
	 */
	public java.lang.Integer getStatus() {
		return getInt("status");
	}

}
